//
//  HttpRequest.m
//  iArtHD
//
//  Created by liu nian on 13-3-20.
//  Copyright (c) 2013年 liu nian. All rights reserved.
//

#import "HttpRequest.h"

@interface HttpRequest(){
}
@end
static NSString * const AFAppDotNetAPIBaseURLString = @"https://api.app.net/";
@implementation HttpRequest

+ (instancetype)sharedClient {
    static HttpRequest *_sharedClient = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _sharedClient = [[HttpRequest alloc] initWithBaseURL:[NSURL URLWithString:nil]];
        _sharedClient.securityPolicy = [AFSecurityPolicy policyWithPinningMode:AFSSLPinningModeCertificate];
    });

    return _sharedClient;
}

@end
